
package com.joysuch.wwyt.audit.service;

import java.util.List;

public interface EntityResolver {

    public <T> T getById(Class<T> clzz, Object value);

    public <T> List<T> getByProp(Class<T> clzz, String prop, Object value);

    public <T> List<T> getByProp(Class<T> clzz, String prop, Object[] value);

    public <T> List<T> getByProp(Class<T> clzz, String prop, List value);

}
